package com.sq.partner.manager.dao.impl;

import java.sql.SQLException;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.sq.partner.manager.dao.IGatewayEmailDao;
import com.sq.partner.manager.mybatis.model.GatewayEmail;
@Repository
public class GatewayEmailDaoImpl extends BaseDaoImpl implements
		IGatewayEmailDao {

	@Override
	public List<GatewayEmail> queryEmailByPolNo(String polNo) throws SQLException {
		
		return this.queryList("queryEmailByPolNo", polNo);
	}

	@Override
	public boolean addGateWayEmail(GatewayEmail gatewayEmail) throws Exception {
		return this.add("addGateWayEmail", gatewayEmail);
	}

}
